<?php
/**
 * Created by PhpStorm.
 * User: wodrow
 * Date: 2018/10/9
 * Time: 13:54
 */
/**
 * @var \yii\web\View $this
 * @var \home\modules\docu\models\FormDocuSearch $form_docu_search
 */

use kartik\form\ActiveForm;
?>

<?php $form = ActiveForm::begin(['method' => 'get', 'action' => ['/docu/search/docu-search']]); ?>
<!-- Blog Search Well -->
<div class="well">
    <h4>搜索</h4>
    <div class="input-group">
        <?=$form->field($form_docu_search, 'title', [
                'template' => "{input}",
        ])->textInput()->label(false) ?>
        <span class="input-group-btn">
            <button class="btn btn-default" type="submit">
                <?= \kartik\icons\Icon::show('search') ?>
            </button>
        </span>
    </div>
    <!-- /.input-group -->
</div>

<!-- Side Widget Well -->
<div class="well">
    <h4>Side Widget Well</h4>
    <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Inventore, perspiciatis adipisci accusamus
        laudantium odit aliquam repellat tempore quos aspernatur vero.</p>
</div>

<?php ActiveForm::end(); ?>